Optimal. Leaf size=93 \[ 3 \left (a+b \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right )\right )^2 \log \left (-\frac {e \sqrt [3]{x}}{d}\right )+6 b n \left (a+b \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right )\right ) \text {Li}_2\left (1+\frac {e \sqrt [3]{x}}{d}\right )-6 b^2 n^2 \text {Li}_3\left (1+\frac {e \sqrt [3]{x}}{d}\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.09, antiderivative size = 93, normalized size of antiderivative = 1.00, number of steps
used = 5, number of rules used = 5, integrand size = 24, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.208, Rules used = {2504, 2443,
2481, 2421, 6724} \begin {gather*} 6 b n \text {PolyLog}\left (2,\frac {e \sqrt [3]{x}}{d}+1\right ) \left (a+b \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right )\right )-6 b^2 n^2 \text {PolyLog}\left (3,\frac {e \sqrt [3]{x}}{d}+1\right )+3 \log \left (-\frac {e \sqrt [3]{x}}{d}\right ) \left (a+b \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right )\right )^2 \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2421
Rule 2443
Rule 2481
Rule 2504
Rule 6724
Rubi steps
\begin {align*} \int \frac {\left (a+b \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right )\right )^2}{x} \, dx &=3 \text {Subst}\left (\int \frac {\left (a+b \log \left (c (d+e x)^n\right )\right )^2}{x} \, dx,x,\sqrt [3]{x}\right )\\ &=3 \left (a+b \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right )\right )^2 \log \left (-\frac {e \sqrt [3]{x}}{d}\right )-(6 b e n) \text {Subst}\left (\int \frac {\log \left (-\frac {e x}{d}\right ) \left (a+b \log \left (c (d+e x)^n\right )\right )}{d+e x} \, dx,x,\sqrt [3]{x}\right )\\ &=3 \left (a+b \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right )\right )^2 \log \left (-\frac {e \sqrt [3]{x}}{d}\right )-(6 b n) \text {Subst}\left (\int \frac {\left (a+b \log \left (c x^n\right )\right ) \log \left (-\frac {e \left (-\frac {d}{e}+\frac {x}{e}\right )}{d}\right )}{x} \, dx,x,d+e \sqrt [3]{x}\right )\\ &=3 \left (a+b \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right )\right )^2 \log \left (-\frac {e \sqrt [3]{x}}{d}\right )+6 b n \left (a+b \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right )\right ) \text {Li}_2\left (1+\frac {e \sqrt [3]{x}}{d}\right )-\left (6 b^2 n^2\right ) \text {Subst}\left (\int \frac {\text {Li}_2\left (\frac {x}{d}\right )}{x} \, dx,x,d+e \sqrt [3]{x}\right )\\ &=3 \left (a+b \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right )\right )^2 \log \left (-\frac {e \sqrt [3]{x}}{d}\right )+6 b n \left (a+b \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right )\right ) \text {Li}_2\left (1+\frac {e \sqrt [3]{x}}{d}\right )-6 b^2 n^2 \text {Li}_3\left (1+\frac {e \sqrt [3]{x}}{d}\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [B] Leaf count is larger than twice the leaf count of optimal. \(195\) vs. \(2(93)=186\).
time = 0.07, size = 195, normalized size = 2.10 \begin {gather*} \left (a-b n \log \left (d+e \sqrt [3]{x}\right )+b \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right )\right )^2 \log (x)+2 b n \left (a-b n \log \left (d+e \sqrt [3]{x}\right )+b \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right )\right ) \left (\left (\log \left (d+e \sqrt [3]{x}\right )-\log \left (1+\frac {e \sqrt [3]{x}}{d}\right )\right ) \log (x)-3 \text {Li}_2\left (-\frac {e \sqrt [3]{x}}{d}\right )\right )+3 b^2 n^2 \left (\log ^2\left (d+e \sqrt [3]{x}\right ) \log \left (-\frac {e \sqrt [3]{x}}{d}\right )+2 \log \left (d+e \sqrt [3]{x}\right ) \text {Li}_2\left (1+\frac {e \sqrt [3]{x}}{d}\right )-2 \text {Li}_3\left (1+\frac {e \sqrt [3]{x}}{d}\right )\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 0.02, size = 0, normalized size = 0.00 \[\int \frac {\left (a +b \ln \left (c \left (d +e \,x^{\frac {1}{3}}\right )^{n}\right )\right )^{2}}{x}\, dx\]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\left (a + b \log {\left (c \left (d + e \sqrt [3]{x}\right )^{n} \right )}\right )^{2}}{x}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {{\left (a+b\,\ln \left (c\,{\left (d+e\,x^{1/3}\right )}^n\right )\right )}^2}{x} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________